#ifndef VKPARSER_H
#define VKPARSER_H

#include <QString>

enum ParseUnreadMsgResult {
    parseIncorrectInfo,
    parseUnknownError,
    parseOk
};

class VkParser
{
    private:
        QString qData;
        int unreadNum;
    public:
        VkParser(QString data);
        ParseUnreadMsgResult parseUnreadMsgCount();
        int getUnreadNum();

};

#endif // VKPARSER_H
